<?php

namespace app\common\constant\driving;

/**
 * 渠道常量类
 */
class ChannelConstant
{

    const LABEL_OWN = 'own';
    const LABEL_CREATE = 'create';

    // 状态:normal=正常,frozen=禁用
    const STATUS_1 = 'normal';
    const STATUS_0 = 'frozen';

    public static function get_status_list()
    {
        return [
            self::STATUS_1 => '正常',
            self::STATUS_0 => '禁用',
        ];
    }

    // 手续费类型:1=百分比,2=固定金额
    const TYPE_1 = '1';
    const TYPE_2 = '2';

    public static function get_type_list()
    {
        return [
            self::TYPE_1 => '百分比',
            self::TYPE_2 => '固定金额',
        ];
    }

}
